package com.software.entity;

import java.util.Date;

/**
 * 传感器
 */
public class CarbonSensor {


    /**
     * 设备编号
     */
    private String id;

    /**
     * 监测区域
     */
    private String location;

    /**
     * 监测阈值
     */
    private String threshold;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 监测的气体类型
     */
    private String monitorType;

    /**
     * 设备类型
     */
    private String modelType;

    /**
     * 设备名称
     */
    private String modelName;

    /**
     * 设备链接
     */
    private String modelUrl;

    /**
     * 设备位置
     */
    private String modelPosition;

    /**
     * 设备角度
     */
    private String modelAngle;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getThreshold() {
        return threshold;
    }

    public void setThreshold(String threshold) {
        this.threshold = threshold;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getMonitorType() {
        return monitorType;
    }

    public void setMonitorType(String monitorType) {
        this.monitorType = monitorType;
    }

    public String getModelType() {
        return modelType;
    }

    public void setModelType(String modelType) {
        this.modelType = modelType;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getModelUrl() {
        return modelUrl;
    }

    public void setModelUrl(String modelUrl) {
        this.modelUrl = modelUrl;
    }

    public String getModelPosition() {
        return modelPosition;
    }

    public void setModelPosition(String modelPosition) {
        this.modelPosition = modelPosition;
    }

    public String getModelAngle() {
        return modelAngle;
    }

    public void setModelAngle(String modelAngle) {
        this.modelAngle = modelAngle;
    }

    @Override
    public String toString() {
        return "Sensor{" +
                "id='" + id + '\'' +
                ", location='" + location + '\'' +
                ", threshold='" + threshold + '\'' +
                ", createTime=" + createTime +
                ", monitorType='" + monitorType + '\'' +
                ", modelType='" + modelType + '\'' +
                ", modelName='" + modelName + '\'' +
                ", modelUrl='" + modelUrl + '\'' +
                ", modelPosition='" + modelPosition + '\'' +
                ", modelAngle='" + modelAngle + '\'' +
                '}';
    }
}
